spinbutton: Remove an unnecessary queue_draw call
authorTimm Bäder <mail@baedert.org>
Thu, 15 Mar 2018 08:44:49 +0000 (09:44 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 15 Mar 2018 08:44:49 +0000 (09:44 +0100)
This is done automatically in case the spinbutton value actually
changes.

gtk/gtkspinbutton.c

index 905424036d75f47f8aad94a2feb460356e419fae..72c372559cc8e1be9de5ed6154f56a59a4509113 100644 (file)
@@ -1492,8 +1492,6 @@ gtk_spin_button_real_spin (GtkSpinButton *spin_button,
 
   if (wrapped)
     g_signal_emit (spin_button, spinbutton_signals[WRAPPED], 0);
-
-  gtk_widget_queue_draw (GTK_WIDGET (spin_button));
 }
 
 static gint